package org.szy.plugin.sys.entity;

import com.mybatisflex.annotation.Table;

/**
 * 用户和角色关联
 *
 * @author wangbuhao
 * @since 2023-06-27 09:56:03
 **/
@Table(value = "sys_user_role")
public class SysUserRole {

    private Long userId;

    private Long roleId;

    private String roleName;

    public SysUserRole(Long userId, Long roleId, String roleName) {
        this.userId = userId;
        this.roleId = roleId;
        this.roleName = roleName;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }
}
